diagonal matrix properties with examples